import os
from 时间 import datetime

pwd = os.path.abspath('')

for f in os.listdir(pwd):
    fsize = os.path.getsize(f)
    ftime = os.path.getmtime(f)
    ftime = datetime.fromtimestamp(ftime).strftime('%Y-%m-%d %H:%M')
    flag = os.path.isdir(f)

    print('%8d %s %5s %s' % (fsize, ftime, flag, os.path.join(pwd,f)))
